package com.stylefeng.guns.modular.system.dao;

import com.stylefeng.guns.modular.small.dto.ConsumerCommentDTO;
import com.stylefeng.guns.modular.system.model.ConsumerComment;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户评论 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2019-09-09
 */
public interface ConsumerCommentMapper extends BaseMapper<ConsumerComment> {

    List<ConsumerComment> searchConsumerCommentPages(@Param("artificerId") Integer artificerId);

    List<ConsumerCommentDTO> searchConsumerCommentDtoPages(@Param("artificerId") Integer artificerId);
}
